package org.zhuzx.util;

import java.util.function.Function;

public class RuntimeConstantMap {
	
	public static void main(String[] args) {
		Function<String,String> toUpperCase = String :: toUpperCase;
		execute(toUpperCase);
	}
	
	public static void execute(Function<String,String> fun) {
		String str = "abcdefg";
		System.out.println("ori string: " + str);
		System.out.println("res string: " + fun.apply(str));
	}

}